#ifndef __ADU_BASIN_H__
#define __ADU_BASIN_H__

#include "cocos2d.h"
#include "ADUConfig.h"
#include <Box2D/Box2D.h>
#include "ADUGameManager.h"
#include "ADUConstant.h"
#include "GB2ShapeCache-x.h"
USING_NS_CC;

class Basin : public Sprite{
public:
	Basin() {this->setTag(TAG_BASIN);};
    void Clean();
	static Basin* CreateBasin();
	void setBody(b2Body* _body) {
		mBody = _body;
	}
	b2Body* GetBody(){
		return mBody;
	}
	int getId() {return id;}
	void setId(int _id) { id = _id;}
	void integrateBox2D();
private:
	constexpr static const char* mPath = "images/pipe.png";
	int id;
    b2Body* mBody;
};


#endif
